<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html>
  
  <head>
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.0</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="${ctx}/public/css/font.css">
    <link rel="stylesheet" href="${ctx}/public/css/xadmin.css">
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script type="text/javascript" src="${ctx}/public/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="${ctx}/public/js/xadmin.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
      <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
      <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  
  <body>
    <div class="x-body">
          <div class="layui-form-item">
                  用户名:
                  ${user.username}

          </div>
         <div class="layui-form-item">
                  登录名:
                  ${user.loginname}

          </div>
           <div class="layui-form-item">
                  创建时间:
               <td><fmt:formatDate value="${user.modifyDate}" pattern="YYYY-MM-dd HH:mm:ss"/></td>

          </div>
        <div class="layui-form-item">
                修改时间:
            <td><fmt:formatDate value="${user.modifyDate}" pattern="YYYY-MM-dd HH:mm:ss"/></td>

        </div>
        <div style="width: 10%;height: 10px;"></div>
        <div style="width: 40px;height: 25px;border: 1px solid red;">
            <button id="xiugai" type="button" style="color: #cccccc;height: 100%;width: 100%;border: none;background-color: #0C0C0C;list-style: none;">修改</button>
        </div>
    </div>
  </body>
</html>
<script type="text/javascript">
    $(function () {
        let  xiugai=$("#xiugai");
        xiugai.on("click",function () {
            window.location.href="${ctx }/user/skip";
        })
    })
</script>